﻿using System.Collections.Generic;
using System.Windows;
using KlavoNotifications.Notification;
using KlavoNotifications.Storage;
using KlavoNotifications.Utils;

namespace KlavoNotifications
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        private TaskBar _taskBar;
        private Notifier _notifier;

        public MainWindow()
        {
            InitializeComponent();

            this.Loaded += MainWindow_Loaded;

          //  this.DataContext = new MainViewModel();

            BuildTray();

           Hide();
        }

        void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            
        }

        private void BuildTray()
        {
            _taskBar = App.Get<TaskBar>();
            _taskBar.Start();

            _notifier = App.Get<Notifier>();
            _notifier.Start();                      
        }

       
    }
}
